
import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Index.vue'
import { baseurl } from '/application.js'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
    children:[
      // {
      //   path: '/index.html',
      //   name: 'server',
      //   component: () => import('@/views/server/index.vue')
      // },
      {
        path: '/server/front-end',
        name: 'front-end',
        component: () => import('@/views/server-manage/front-end/List.vue')
      }
    ]
  }
]

const router = createRouter({
  history: createWebHistory(baseurl),
  routes
})

export default router
